<?php
	
namespace app\index\model;

use think\Model;

class Profile extends Model{
	protected $type = [
		'birthday' => 'timestamp:Y-m-d',
	];
	
	protected $autoWriteTimestamp = false;
	
	public function user(){
		return $this->belongsTo('User');
	}
}
?>